package com.example.tianyidemo.service.impl;
import com.example.tianyidemo.Mapper.EmailMapper;
import com.example.tianyidemo.pojo.EmailCode;
import com.example.tianyidemo.service.EmailService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class Emailimpl implements EmailService {
    private static final Logger logger = LoggerFactory.getLogger(Emailimpl.class);
    @Autowired
    private EmailMapper emailMapper;
    @Override
    public EmailCode enroll(EmailCode email) {
     emailMapper.enrollEmail(email);
     return null;
    }
}
